package com.zwface.demo.model.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * created by      张中文
 * on:             2020/4/27 16:58
 * 描述：
 */
@Entity
public class Leave
{
    @Id(autoincrement = true)//设置自增长
    private Long id;
    private Long timeStart;
    private Long timeEnd;
    private Long stuId;
    private String stuName;
    private String reason;
    private int status;

    @Generated(hash = 725019806)
    public Leave() {
    }
    @Generated(hash = 1013800500)
    public Leave(Long id, Long timeStart, Long timeEnd, Long stuId, String stuName,
            String reason, int status) {
        this.id = id;
        this.timeStart = timeStart;
        this.timeEnd = timeEnd;
        this.stuId = stuId;
        this.stuName = stuName;
        this.reason = reason;
        this.status = status;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getTimeStart() {
        return this.timeStart;
    }
    public void setTimeStart(Long timeStart) {
        this.timeStart = timeStart;
    }
    public Long getTimeEnd() {
        return this.timeEnd;
    }
    public void setTimeEnd(Long timeEnd) {
        this.timeEnd = timeEnd;
    }
    public Long getStuId() {
        return this.stuId;
    }
    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }
    public String getStuName() {
        return this.stuName;
    }
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }
    public String getReason() {
        return this.reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public int getStatus() {
        return this.status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    
}
